package com.sky.common.http.common;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;

/**
 * SSL通信主机名验证
 *
 */
public class NoneHostnameVerifier implements HostnameVerifier {
    public NoneHostnameVerifier() {
    }

    @Override
    public boolean verify(String hostname, SSLSession session) {
        return true;
    }
}
